<template>
  <el-card shadow="never" header="最近的操作记录">
    <scTable ref="table" :apiObj="apiObj" :params="params" row-key="id" stripe>
      <el-table-column label="ID" prop="id" width="200"></el-table-column>
      <el-table-column
        label="操作名称"
        prop="name"
        width="200"
      ></el-table-column>
      <el-table-column
        label="模块名称"
        prop="modelName"
        width="200"
      ></el-table-column>
      <!-- <el-table-column label="方法名" prop="actionCode" min-width="150"></el-table-column>
			<el-table-column label="操作参数" prop="arg" min-width="200"></el-table-column>
			<el-table-column label="类名" prop="modelCode" min-width="150"></el-table-column>
			<el-table-column label="操作人" prop="username" width="150"></el-table-column> -->
      <el-table-column
        label="操作ip地址"
        prop="ipAddress"
        width="200"
      ></el-table-column>
      <el-table-column
        label="操作时间"
        prop="operationTime"
        width="250"
      ></el-table-column>
    </scTable>
  </el-card>
</template>

<script>
export default {
  data () {
    return {
      apiObj: this.$API.operationLog.selectLogList,
      params: {
        adminId: this.$TOOL.data.get('USER_INFO').userId
      }
    }
  }
}
</script>

<style></style>
